package com.giraffe.device.pojo.enums;

/**
 * 设备类型
 * @Author ldx
 * @Date 2024/02/21 16:31
 **/
public enum DeviceTypeEnum {

    DEFAULT("default", "默认"),
    TASMOTA("tasmota", "tasmota网关设备"),
    ZIGBEE2MQTT("zigbee2mqtt", "zigbee2mqtt网关设备"),
    TUYA_TEMPERATURE("tuya_temperature", "涂鸦温度计"),
    ;

    private String code;
    private String name;

    DeviceTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
